package com.zhangwsh.springboot.springbootdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname TestController
 * @Description TODO
 * @Date 2020/6/4 16:32
 * @Author zhangwsh
 */
@RestController
@RequestMapping("say")
@Slf4j
public class TestController {

    @RequestMapping("hello")
    public String getValue() {
        log.info("何小路,你最帅......");
        return "springboot2 hello hexiaolu";
    }

}
